<!DOCTYPE html>
<html lang="ch-CN">
<head>
    <meta charset="UTF-8">
    <title>else if</title>
</head>
<style>
    * {
        font-size: 30px;
        text-decoration: none;
    }
</style>
<script>
    let score = Number(prompt("请输入小红的成绩！！"))
    if (score > 100 && score < 0) {
        document.write("作弊了吧!!" + score)
    } else {
        if (score === 100) {
            document.write("小红的成绩是 满分!!" + score)
        } else if (score >= 90) {
            document.write("小红的成绩为 优秀！！" + score)
        } else if (score >= 80) {
            document.write("小红的成绩为 良好！！" + score)
        } else if (score >= 70) {
            document.write("小红的成绩为 中等！！" + score)
        } else if (score >= 60) {
            document.write("小红的成绩为 及格！！" + score)
        } else {
            document.write("小红的成绩为 不及格！！" + score)
        }
    }
</script>
<body>
</body>
</html>